package cn.gov.msa.model;

import java.util.Arrays;
import java.util.Date;

public class Amanuensis extends BaseObj {
    private String amanuensisid;

    private String applyid;
    
    private String nodecode;
    
    private String nodename;

    private String amanuensiscode;

    private String amanuensisname;

    private String filename;

    private String fileurl;
    
//    private Date syscreated;
//
//    private String syscreatedby;
//
//    private String syscreatedbyname;
//
//    private String sysorg;
//
//    private String sysorgname;
//
//    private String sysdept;
//
//    private String sysdeptname;
//
//    private Date syslastupd;
//
//    private String syslastupdby;

    private byte[] attachment;

    public String getAmanuensisid() {
        return amanuensisid;
    }

    public void setAmanuensisid(String amanuensisid) {
        this.amanuensisid = amanuensisid;
    }

    public String getApplyid() {
        return applyid;
    }

    public void setApplyid(String applyid) {
        this.applyid = applyid;
    }
    
    

    /**
	 * @return the nodecode
	 */
	public String getNodecode() {
		return nodecode;
	}

	/**
	 * @param nodecode the nodecode to set
	 */
	public void setNodecode(String nodecode) {
		this.nodecode = nodecode;
	}

	/**
	 * @return the nodename
	 */
	public String getNodename() {
		return nodename;
	}

	/**
	 * @param nodename the nodename to set
	 */
	public void setNodename(String nodename) {
		this.nodename = nodename;
	}

	public String getAmanuensiscode() {
        return amanuensiscode;
    }

    public void setAmanuensiscode(String amanuensiscode) {
        this.amanuensiscode = amanuensiscode;
    }

    public String getAmanuensisname() {
        return amanuensisname;
    }

    public void setAmanuensisname(String amanuensisname) {
        this.amanuensisname = amanuensisname;
    }
    

//    public Date getSyscreated() {
//        return syscreated;
//    }
//
//    public void setSyscreated(Date syscreated) {
//        this.syscreated = syscreated;
//    }
//
//    public String getSyscreatedby() {
//        return syscreatedby;
//    }
//
//    public void setSyscreatedby(String syscreatedby) {
//        this.syscreatedby = syscreatedby;
//    }
//
//    public String getSyscreatedbyname() {
//        return syscreatedbyname;
//    }
//
//    public void setSyscreatedbyname(String syscreatedbyname) {
//        this.syscreatedbyname = syscreatedbyname;
//    }
//
//    public String getSysorg() {
//        return sysorg;
//    }
//
//    public void setSysorg(String sysorg) {
//        this.sysorg = sysorg;
//    }
//
//    public String getSysorgname() {
//        return sysorgname;
//    }
//
//    public void setSysorgname(String sysorgname) {
//        this.sysorgname = sysorgname;
//    }
//
//    public String getSysdept() {
//        return sysdept;
//    }
//
//    public void setSysdept(String sysdept) {
//        this.sysdept = sysdept;
//    }
//
//    public String getSysdeptname() {
//        return sysdeptname;
//    }
//
//    public void setSysdeptname(String sysdeptname) {
//        this.sysdeptname = sysdeptname;
//    }
//
//    public Date getSyslastupd() {
//        return syslastupd;
//    }
//
//    public void setSyslastupd(Date syslastupd) {
//        this.syslastupd = syslastupd;
//    }
//
//    public String getSyslastupdby() {
//        return syslastupdby;
//    }
//
//    public void setSyslastupdby(String syslastupdby) {
//        this.syslastupdby = syslastupdby;
//    }

    /**
	 * @return the filename
	 */
	public String getFilename() {
		return filename;
	}

	/**
	 * @param filename the filename to set
	 */
	public void setFilename(String filename) {
		this.filename = filename;
	}

	/**
	 * @return the fileurl
	 */
	public String getFileurl() {
		return fileurl;
	}

	/**
	 * @param fileurl the fileurl to set
	 */
	public void setFileurl(String fileurl) {
		this.fileurl = fileurl;
	}

	public byte[] getAttachment() {
        return attachment;
    }

    public void setAttachment(byte[] attachment) {
        this.attachment = attachment;
    }

	@Override
	public String toString() {
		return "Amanuensis [amanuensisid=" + amanuensisid + ", applyid=" + applyid + ", nodecode=" + nodecode + ", nodename=" + nodename + ", amanuensiscode=" + amanuensiscode + ", amanuensisname=" + amanuensisname + ", filename=" + filename + ", fileurl=" + fileurl + ", attachment="
				+ Arrays.toString(attachment) + "]";
	}
}